package com.briup.pts.service;

import com.briup.pts.domain.bean.IndexRecord;
import com.github.pagehelper.PageInfo;
import jakarta.validation.constraints.Min;

import java.util.List;

public interface IndexRecordService {

    PageInfo<IndexRecord> pageQuery(@Min(value = 1,message = "当前页码不能小于1") Integer pageNum, @Min(value = 1,message = "当前页码不能小于1") Integer pageSize, Integer startWeight, Integer endWeight);

    void batchDelete(List<Integer> irIds);

    void saveOrUpdate(IndexRecord indexRecord);
}
